#ifndef CONTEXT_H
#define CONTEXT_H

#include <exceptions.h>

struct cpu_context {
  u64 cr3;
  struct desc_ptr idtr;
};

void save_context(struct cpu_context *cpu);
void load_context(struct cpu_context *cpu);


#endif /* CONTEXT_H */